﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace test._99_test.time._2012_03_26_142734
{
    public partial class Form_down : Form
    {
        public Form_down()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //
            http://www.pengxiangtea.com/uploadfiles/mp3/20091013103829157.mp3
            try
            {
                string s1 = this.textBox_url.Text;
                string s2 = this.textBox_path.Text;

                s1 = "http://www.sohu.com/";
                s2 = "c://1.htm";
                common.DownloadHelp.FileDownload(s1, s2);
                MessageBox.Show("ok");
            }
            catch (Exception ee)
            {
                MessageBox.Show("err");
            }
        }

        private void progressBar1_Click(object sender, EventArgs e)
        {

        }
    }
}
